package com.itcast.java.coupon.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 商品会员价格实体类
 *
 * @author xiaobai
 * @date 2021-06-27 19:38:46
 */
@Data
@TableName("sms_member_price")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "SmsMemberPriceEntity对象", description = "商品会员价格")
public class SmsMemberPriceEntity implements Serializable{

private static final long serialVersionUID=1L;

        @ApiModelProperty(value = "id")
                @TableId(value = "id", type = IdType.AUTO)
                private Long id;

        @ApiModelProperty(value = "sku_id")
    @TableField("sku_id")
        private Long skuId;

        @ApiModelProperty(value = "会员等级id")
    @TableField("member_level_id")
        private Long memberLevelId;

        @ApiModelProperty(value = "会员等级名")
    @TableField("member_level_name")
        private String memberLevelName;

        @ApiModelProperty(value = "会员对应价格")
    @TableField("member_price")
        private BigDecimal memberPrice;

        @ApiModelProperty(value = "可否叠加其他优惠[0-不可叠加优惠，1-可叠加]")
    @TableField("add_other")
        private Boolean addOther;

        }